package com.computergames.server.message.cardMessage;

import com.computergames.server.message.HasJwtToken;
import com.computergames.server.message.Message;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class BidRequestMessage extends Message implements HasJwtToken {
    private String player;
    private int bid;
    private String jwtToken;

    public BidRequestMessage() {
    }

    public BidRequestMessage(String player, int bid, String jwtToken) {
        this.player = player;
        this.bid = bid;
        this.jwtToken = jwtToken;
    }

    @Override
    public int getMessageType() {
        return BidRequestMessage;
    }
}
